# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=certbot-nginx
pkgver=1.5.0
pkgrel=1
pkgdesc="Nginx plugin for Certbot client"
url="https://pypi.org/project/certbot-nginx/"
arch="noarch"
license="Apache-2.0"
depends="certbot py3-acme py3-mock py3-openssl py3-parsing
	py3-setuptools py3-zope-interface"
checkdepends="py3-pytest"
source="https://pypi.io/packages/source/c/certbot-nginx/certbot-nginx-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="034cd3b9be3bd6e4e15ec4e01335814013049d48932a55f99045ebee757ccfbc19d1513abdc6f0a9ec4d1ed985d5113368f9720d8a1e4fc0ff2548a346170a9e  certbot-nginx-1.5.0.tar.gz"
